﻿using Commission.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Commission.ViewModels
{
    public class TransactionGroup
    {
        public int CustomerId { get; set; }

        public Customer Customer { get; set; }

        public decimal Amount80 { get; set; }

        public decimal Amount20 { get; set; }

        public decimal Amount100
        {
            get
            {
                return Amount80 + Amount20;
            }
        }

        public AccountType AccountType { get; set; } 
    }
}